////////////////////////////////////////////////////////////////////////////////
//
//  Copyright
//
////////////////////////////////////////////////////////////////////////////////

package goodcoregame.events.database.character {

import flash.events.Event;

/**
 * @author					Dimarik
 * @version					1.0
 * @playerversion			Flash 9
 * @langversion				3.0
 *
 * @keyword					characterdataevent, characterdata, data, character, event
 */
public class CharacterDataEvent extends Event {

	//--------------------------------------------------------------------------
	//
	//  Constants
	//
	//--------------------------------------------------------------------------


	/**
	 * @eventType			characterChange
	 */
	public static const CHARACTER_CHANGE:String = 'characterChange';


	/**
	 * @eventType			characterExperienceChange
	 */
	public static const CHARACTER_EXPERIENCE_CHANGE:String = 'characterExperienceChange';


	/**
	 * @eventType			characterLevelChange
	 */
	public static const CHARACTER_LEVEL_CHANGE:String = 'characterLevelChange';


	/**
	 * @eventType			characterActionChange
	 */
	public static const CHARACTER_ACTION_CHANGE:String = 'characterActionChange';

	/**
	 * @eventType			characterRotationChange
	 */
	public static const CHARACTER_ROTATION_CHANGE:String = 'characterRotationChange';

	//--------------------------------------------------------------------------
	//
	//  Constructor
	//
	//--------------------------------------------------------------------------

	/**
	 * Constructor.
	 */
	public function CharacterDataEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) {
		super(type, bubbles, cancelable);
	}

	//--------------------------------------------------------------------------
	//
	//  Overriden methods: Event
	//
	//--------------------------------------------------------------------------

	/**
	 * @private
	 */
	public override function clone():Event {
		return new CharacterDataEvent(super.type, super.bubbles, super.cancelable);
	}

}
}